package com.zmn.oms.dubbo.dto.zmn.channel;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 订单评价接口参数定义
 *
 * @author xiewenbing
 * @date 2021/03/26
 */
@Data
public class OrderCommentDIO implements Serializable {

    private static final long serialVersionUID = 3717746308940469079L;

    /**
     * 订单ID
     */
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /**
     * 外部订单ID
     */
    private String outerId;

    /**
     * 渠道ID
     */
    private Integer channelId;

    /**
     * 评星
     */
    private Integer score;

    /**
     * 评价内容
     */
    @NotNull(message = "评价内容不能为空")
    private String content;
}
